import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
export default new Router({
  mode: 'hash',
  // mode: 'history',
  // base: '/test',
  routes: [
    {
      path: '/home',
      name: 'home',
      component: () => import( /* webpackChunkName: "home" */ './view/home.vue')
    }, 
    {
      path: '/text',
      name: 'text',
      component: () => import( /* webpackChunkName: "text" */ './view/text.vue')
    }, 
  ]
})